/**
 * @Author: 张兴
 * @Date: 2019/6/20
 * @Last Modified by:   张兴
 * @Last Modified time: 2019-09-12 15:45:00
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询
export const queryClaimElementQuery = params => axios.get(`${SERVER.AUDI_CLAIM}/query/guide/queryClaimElementQuery`, { params });

// 主页面导出
export const exportClaimOutBill = params => axios.get(`${SERVER.AUDI_CLAIM}/query/guide/partOutExport`, { params, responseType: 'blob' });

// 查询索赔件清单和打印装箱单数据
export const getPartInDetailByOutId = params => axios.get(`${SERVER.AUDI_CLAIM}/query/guide/getPartInDetailByOutId`, { params });

// 根据出库单id查询索赔件出库明细
export const getDetailByOutId = params => axios.get(`${SERVER.AUDI_CLAIM}/query/guide/getDetailByOutId`, { params });
